import { ThemeCountext, ThemeTitile } from "./useContextCom"
import { useContext } from "react"

let theme = useContext(ThemeCountext)
let title = useContext(ThemeTitile)
let SubNode = () => {
    return (
        <fieldset>
            <legend>子子子节点</legend>
            <h1>subNode</h1>
            <h1 style={{color:theme.color}}>{title}</h1>
        </fieldset>
    )
}

export default SubNode